package board;

public class BoardData {

	private int num;
	private String title;
	private String writer;
	private String substance;
	
	
	public BoardData()	{
		
	}
	public BoardData(int num,String title, String writer, String substance)	{
		this.num=num;
		this.title=title;
		this.writer=writer;
		this.substance=substance;		
		
	}
	
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getWriter() {
		return writer;
	}
	public void setWriter(String writer) {
		this.writer = writer;
	}
	public String getSubstance() {
		return substance;
	}
	public void setSubstance(String substance) {
		this.substance = substance;
	}
	
	@Override
	public String toString() {
		return "BoardData [num=" + num + ", title=" + title + ", write="
				+ writer + ", substance=" + substance + "]";
	}	
	
}
